package com.sense.kukoo.common.repo.kv.login_history

interface LoginHistory {

    fun setLoginType(type:Int)
    fun lastLoginType():Int

    companion object{
        //用户来源: 0. 内部; 1. facebook; 2. google; 3.apple; 4.twitter; 5. line;
        val NO_HISTORY = -1
        val SOURCE_INNER = 0
        val SOURCE_FACEBOOK = 1
        val SOURCE_GOOGLE = 2
        val SOURCE_APPLE = 3
        val SOURCE_TWITTER = 4
        val SOURCE_LINE = 5
    }
}